home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
src
/
dd
/
dmakefile.save
< prev
next >
Wrap
Text File
|
1994-02-06
|
1KB
|
61 lines
PRE= t:ddefs.m
#CCFLG= -mRR -proto -H$(PRE)=defs.h -d1 -2.0
CCFLG= -proto -R -H$(PRE)=defs.h -d1 -2.0 -s
OD=
XLIBS = -l lib:debug.lib
DBUG= dd
DBUGC= umain.c lists.c dbug.c cexp.c commands.c loadseg.c\
breakpoints.c hex.c mixed.c dism.c registers.c watchpoints.c \
menu.c rexxfunc.c
DBUGCO= $(DBUGC:*.c:"$(OD)%1.o")
DBUGA= dbuglib.asm dasm.asm
DBUGAO= $(DBUGA:*.asm:"$(OD)%1.o")
HELLOC= hello.c hello2.c
HELLOCO= $(HELLOC:*.c:%1.o)
all: $(OD) dbug_protos.h $(DBUG) hello
$(PRE): defs.h local/defs.h
dbug_protos.h: $(DBUGC) console.c
makeproto -o dbug_protos.h $(DBUGC) console.c
$(DBUG): $(DBUGCO) $(DBUGAO) console.o
dcc $(CCFLG) $(DBUGCO) console.o $(DBUGAO) -o $(DBUG) $(XLIBS)
hello: $(HELLOCO)
dcc -R -d1 $(CCFLG) $(HELLOCO) -o hello
console.o: console.c dd_rev.h
dcc -c $(CCFLG) %(right) -o %(left)
$(DBUGCO): $(DBUGC)
dcc -c $(CCFLG) %(right) -o %(left)
$(DBUGAO): $(DBUGA)
a68k -iV:include/ -o%(left) %(right)
$(HELLOCO): $(HELLOC)
dcc -c -R -d1 $(CCFLG) %(right) -o %(left)
#$(OD) : $(OD)
# makedir %(left:*/:*)
clean:
-delete $(OD)#?.o
-delete $(PRE)
cleanheader:
-delete $(PRE)
version:
-bumprev 1 dd_rev